<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui"> 
	
<title>Perfil dos Alunos FGA</title>
	
<center>
<img src="C:\Users\Endo\Pictures\Shirudo\gama_header.png"/>

<h1>Perfil dos Alunos FGA</h1>  
<h3>Para acessar essa área é necessário o login</h3>



<body>

<h:form>  
  	<br><h3>ADMNISTRADOR</h3></br>
    <p:panel id="panel" style="margin-bottom:10px;">  
        <p:messages />  
        <h:panelGrid columns="3"> 
         
            <h:outputLabel for="id" value="ID: " />  
            <p:inputText id="id" value="#{pprBean.id}" required="true" label="id">  
                <f:validateLength minimum="2" />  
            </p:inputText>  
            <p:message for="id" />  
              
            <h:outputLabel for="senha" value="Senha: " />  
            <p:inputText id="senha" value="#{pprBean.senha}" required="true" label="Senha"/> 
            <p:commandButton value="Login" update="panel,display" actionListener="#{pprBean.logar}" />  
            <p:message for="senha" />  
                 		
        </h:panelGrid>  
        
        <br>
 	<br><h3>ALUNOS</h3></br>        
		<h:outputLabel for="cadastro" value="Ainda não respondi o questionário." />       		
     	<p:commandButton value="Responder Agora " update="panel,display" actionListener="#{pprBean.logar}" url="tela1.jsf"/> 
     	</br>	
     	
    </p:panel>  
<hr size="8" width="50%"></hr>
<h6>© 2011 | Área Especial 2 Lote 14 Setor Central Gama-DF Cep: 72405-610 Telefone Geral: (55 61) 3107 8219 | (Fax) 3107 8201 UnB Gama | Desenvolvimento UnB</h6>


</h:form>

</body>
</center>
</html>